package com.mida.dms.knw.entity.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.mida.dms.knw.entity.KnwNoumenonRelation;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <h1>本体关系Vo(core)</h1>
 * <p>
 *
 * @author jian.li on 2021/3/3 14:44
 */
@Setter
@Getter
public class KnwNoumenonRelationVo extends KnwNoumenonRelation implements Serializable {

    //源本体名称
    private String sourceNoumenonName;

    //目标本体名称
    private String targetNoumenonName;

    //本体关系名称
    private String noumenonRelationName;

    //本体状态名称
    private String statusName;

    //新增时当前本体的soid
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long thisNoumenonSoid;

    // 源本体二级类型
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long sourceNoumenonSubType;

    // 目标本体二级类型
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long targetNoumenonSubType;

    //源本体二级类型名称
    private String sourceNoumenonSubTypeName;

    //目标本体二级类型名称
    private String targetNoumenonSubTypeName;

    private static final long serialVersionUID = 1L;

}
